<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<div class="searchbar">
  <form action="?" method="get" name="searchListForm">
    <input type="hidden" name="c" value="goods">
    <select class="auto" name="search[pay_status]">
      <option value="">选择支付状态</option>
      <option value="0">未支付</option>
      <option value="1">已支付</option>
    </select>
    <select class="auto" name="search[distribution_status]">
      <option value="">选择发货状态<</option>
      <option value="1" <?php if($distribution_status==1){?>selected="selected"<?php }?>>上架</option>
      <option value="2" <?php if($distribution_status==2){?>selected="selected"<?php }?>>下架</option>
      <option value="3" <?php if($distribution_status==3){?>selected="selected"<?php }?>>待审</option>
    </select>
    <select class="auto" name="search[status]">
      <option value="">选择订单状态</option>
      <option value="1">新订单</option>
      <option value="2">确认订单</option>
      <option value="3">取消订单</option>
      <option value="4">作废订单</option>
      <option value="5">完成订单</option>
      <option value="6">退款</option>
      <option value="7">部分退款</option>

    </select>
    <select class="auto" name="search[name]">
      <option value="">选择订单条件</option>
      <option value="accept_name">收件人姓名</option>
      <option value="order_no">订单号</option>
      <option value="seller_name">商户真实名称</option>
    </select>
    <input class="small" name="search[keywords]" type="text" value="" />

    <button class="btn" type="submit" onclick="changeAction(false)"><span class="sel">筛 选</span></button>
    <!--<button class="btn" onclick="changeAction(true)"><span class="sel">导出Excel</span></button>-->
  </form>
</div>
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
	<thead>
<tr class="n_bt"><td colspan="8" align="center">爱不语商城系统</td></tr>
  <tr>
  <td height="28" align="center"  class="thbt">ID</td>
    <td height="28" align="center"  class="thbt">订单号</td>
    <td height="28" align="center"  class="thbt">收货人</td>
    <td height="28" align="center"  class="thbt">支付状态</td>
    <td height="28" align="center"  class="thbt">发货状态</td>
    <td height="28" align="center"  class="thbt">订单详情</td>
    <!--<td height="28" align="center"  class="thbt">配送方式</td>-->
    <td height="28" align="center"  class="thbt">操作</td>
 
  </tr></thead>
<?php if(is_array($order_list))  foreach($order_list as $v) { ?>
    <tr width='4%' align="center" >
      <td><input name="id[]" type="checkbox" value="<?php echo isset($v->id)?$v->id:"";?>>"><?php echo isset($v->id)?$v->id:"";?></td>
      <td height="20" align="left"><?php echo isset($v->order_no)?$v->order_no:"";?></td>
      <td><?php echo isset($v->nickname)?$v->nickname:"";?></td>
      <td><?php echo isset($v->pay_status)?$v->pay_status:"";?></td>
      <td><?php echo isset($v->distribution_status)?$v->distribution_status:"";?></td>
      <td><a href="?c=order&a=xq&id=<?php echo isset($v->id)?$v->id:"";?>">查看</a> </td>
      <td><a class="mod" href="?c=<?php echo isset($classname)?$classname:"";?>&a=info&id=<?php echo isset($v->id)?$v->id:"";?>">修改</a>
        <a class="del" href="?c=<?php echo isset($classname)?$classname:"";?>&a=del&id=<?php echo isset($v->id)?$v->id:"";?>">删除</a></td>
      </td>
    </tr>
    <?php }?>
</table>
<div class="pages"><?php echo isset($pagelist)?$pagelist:"";?></div>
<script type="text/javascript">
    <!--
    $(document).ready(function () {
        $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
    });
    //-->
</script>
</body>
</html>